package net.android.vakarm.receiver;

import net.android.vakarm.utils.AlarmUtils;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;

public class VaKarMReceiver extends BroadcastReceiver {

	@Override
	public void onReceive(Context context, Intent intent) {
		SharedPreferences settings = PreferenceManager
				.getDefaultSharedPreferences(context.getApplicationContext());
		AlarmUtils alarmUtils = new AlarmUtils();
		alarmUtils.startAlarm(context, settings);
	}
}